import {
	requiredVerify,
	lengthVerify,
	idCardNum
} from "./verify.js"

export const authenticationRules = {
	realName: [
		requiredVerify("姓名"),
	],
	gender: [
		requiredVerify("性别"),
		lengthVerify(1),
	],
	idCardNum: [
		requiredVerify("身份证号"),
		idCardNum(),
	],
	backImg:[
		requiredVerify("身份证国徽面"),
	],
	frontImg:[
		requiredVerify("身份证头像面"),
	]
}